#if !defined(RESOURCEWINDOW_H)
#define RESOURCEWINDOW_H

#include "resource.h"

namespace gunsmith
{
typedef unsigned int UINT;

/*!	\struct TDisplayWindowInfo
	\brief Display window info attributes. */
struct TDisplayWindowInfo
{
	UINT  iWidth, iHeight;
	UINT  iRefreshRate;
	UINT  iColorDepth;
	HWND  hWnd;
	bool* pRunning;
};

/*! \class CResourceWindow
	\brief Window resource. */
class CResourceWindow : public CResource
{
public:
										CResourceWindow		();
	virtual								~CResourceWindow	();
	virtual bool						Create				(void *pSource);
	virtual void						Destroy				();
	virtual const TDisplayWindowInfo*	GetInfo				()				const;

private:
	TDisplayWindowInfo	m_xWindowInfo;
};
};

#endif //RESOURCEWINDOW_H